<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			//获取windows尺寸
			var w = window.innerWidth;
			var h = window.innerHeight;
			console.log("宽: "+w,"高: "+h)
		</script>
	</body>
</html>